public class Student {
    private String name;
    private double gpa;
    private String subject;

    public Student(String name, double gpa, String subject) {
        this.name = name;
        this.gpa = gpa;
        this.subject = subject;
    }

    public String getName() {
        return name;
    }

    public double getGpa() {
        return gpa;
    }

    public String getSubject() {
        return subject;
    }

    public String toString() {
        return "Name: " + name + ", GPA: " + gpa + ", Subject: " + subject;
    }


}